package learning.springdi;


public class BeanDefinition {
    private Class<?> beanClass;
    private boolean singleton;

    public BeanDefinition(Class<?> beanClass, boolean singleton) {
        this.beanClass = beanClass;
        this.singleton = singleton;
    }

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public boolean isSingleton() {
        return singleton;
    }
}